home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / September 96 / trouble with data linking < prev    next >
Encoding:
Internet Message Format  |  1996-09-19  |  2.5 KB  |  [TEXT/ttxt]

  1. Subject:     trouble with data linking
  2. Sent:        9/10/96 1:25 AM
  3. Received:    9/10/96 1:25 AM
  4. From:        "Ken Grigsby" <grigsby@csi-health.com>
  5. Reply-To:    ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List
  7.  
  8.  
  9.  
  10. 1) I'm having trouble getting linking to work. I'm trying to make a
  11. part displays one month of a calendar. I would like to link it with
  12. another instance of the same part so that when the user changes the
  13. month or year of the first, the second automatically updates to the
  14. month after the first. The calendar itself has no selectable content
  15. but I create a selection object that references the part content for
  16. enabling the Copy menu item and for the source link. After I put two
  17. instances of the calendar in ODF Table or ODF Draw, I copy the first,
  18. activate the second and "Paste As…" with automatic linking and merge
  19. into contents selected. The second gets updated correctly at this
  20. point. But any changes made after this to the first are not propagated
  21. to the second (i.e. DoUpdateLink is not called). I am calling the
  22. presentation's ContentUpdated method when the data in the first is
  23. changed.
  24.  
  25. 2) It would be handy if FW_CPresentation::ContentUpdated called a new
  26. FW_CFrame::ContentUpdated method
  27.  
  28. ---------------------------------------------------
  29. This message was created and sent using the Cyberdog Mail System
  30. ---------------------------------------------------
  31.  
  32.  
  33.  
  34.  
  35. 1) I'm having trouble getting linking to work. I'm trying to make a part displays one month of a calendar. I would like to link it with another instance of the same part so that when the user changes the month or year of the first, the second automatically updates to the month after the first. The calendar itself has no selectable content but I create a selection object that references the part content for enabling the Copy menu item and for the source link. After I put two instances of the calendar in ODF Table or ODF Draw, I copy the first, activate the second and "Paste As…" with automatic linking and merge into contents selected. The second gets updated correctly at this point. But any changes made after this to the first are not propagated to the second (i.e. DoUpdateLink is not called). I am calling the presentation's ContentUpdated method when the data in the first is changed.
  36.  
  37. 2) It would be handy if FW_CPresentation::ContentUpdated called a new FW_CFrame::ContentUpdated method
  38.  
  39. ---------------------------------------------------
  40. This message was created and sent using the Cyberdog Mail System
  41. ---------------------------------------------------
  42.